﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using Volo.Abp;

namespace Business.Models
{
    /// <summary>
    /// 入库明细表
    /// </summary>
    public class AddWarehouseList : AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid? TenantId { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// (等于产品的Guid)
        /// </summary>
        public Guid ShoppingId { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string SpName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string SpNumber { get; set; }

        /// <summary>
        /// 产品单价
        /// </summary>
        public decimal SpPrice { get; set; }

        /// <summary>
        /// 产品单位
        /// </summary>
        public string SpUnit { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public int SpCount { get; set; }

        /// <summary>
        /// 产品总金额
        /// </summary>
        public decimal SpSumPrice { get; set; }

        /// <summary>
        /// 入库仓库Id
        /// </summary>
        public Guid? WarehouseId { get; set; }

    }
}
